package com.freshman_registration.pojo;

import cn.hutool.core.annotation.Alias;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
@Data
public class Students {


        @Alias("编号")
        private Integer id;

        @Alias("学号")
        private String studentId;

        @Alias("密码")
        private String password;

        @Alias("学生姓名")
        private String name;

        @Alias("身份证号")
        private String idCard;

        @Alias("性别")
        private String gender;

        @Alias("电话号码")
        private String phone;

        @Alias("所属学院")
        private String college;

        @Alias("专业")
        private String major;

        @Alias("紧急联系人姓名")
        private String emergencyName;

        @Alias("紧急联系人电话")
        private String emergencyPhone;

        @Alias("房间号")
        private Integer dormId;


        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        @Alias("分配时间")
        private Date allocateTime;
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        @Alias("入住确认时间")
        private Date checkInTime;

        @Alias("是否提交信息")
        private Integer infoSubmitted;

        @Alias("是否报道")
        private Integer reportStatus;
        @Alias("账号状态")
        private Integer accountStatus;

        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        @Alias("创建时间")
        private Date createTime;//创建时间

        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        @Alias("更新时间")
        private Date updateTime;//更新时间

        @Alias("照片")
        private String photo;

        @Alias("班级名称")
        private String className;

        @Alias("辅导员姓名")
        private String counselorName;

        @Alias("辅导员电话")
        private String counselorPhone;

        @Alias("班级QQ群")
        private String qqGroup;

        @Alias("生源地")
        private String nativePlace;

        @Alias("家庭住址")
        private String homeAddress;

        @Alias("紧急联系人与学生关系")
        private String contactRelation;

}


